#include "ce_chars.h"
#include <stdio.h>

int isalnum_ce(int c)
{
  //fprintf(stderr, "C: %d", c);
  if(c>='0' && c<='9' || c>='A' && c<='Z' || c>='a' && c<='z' || c>=128 || c<0)
  // c<0 added by PH on June 4
    return 1; else return 0;
}

int toupper_ce(int c)
{
  if(c>='a' && c<='z') c-='a'-'A';
  return c;
}

